<%-- 
    Document   : demo1
    Created on : 2012-9-10, 23:13:54
    Author     : txdnet
--%>

<%@page import="cn.txdnet.key.AtomicGen"%>
<%@page import="txdnet.util.coder.DESede"%>
<%@page import="txdnet.util.coder.DES"%>
<%@page import="txdnet.util.DataUtil"%>
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" buffer="16kb" session="false" autoFlush="true"%>
<%

String qs = "-9 12";
out.println(DataUtil.isInteger(qs) + " "+Byte.MAX_VALUE);
String key ="d622Bd$JkigbUJk$^*)@$MJI";
String str = "2213918299993-225490687961";
out.println(DESede.encrypt(str, key)+"<br/>");
out.println(DESede.decrypt("4D9EB9C9F2A49A526F5C3D39E9F294C1134DD73C8A2E4FB5A7A6F89693F431C0", key));

out.println(DataUtil.isEmpty("sdf ds d"));
out.println(AtomicGen.getId());

%>